Skip to main content

All Questions

1vote
1answer
92views

What to test on a rest API?

I created a rest controller with Spring Boot, I am trying to learn what I should write on my tests, right now I only check status codes and keys existence. I am planning to build an API to showcase at ...
Daniel Burgos's user avatar
14votes
4answers
3kviews

Unit testing Video Service class

I wrote my first unit testing code on a service class using Mockito. The code looks like this: ...
Patrick's user avatar
1vote
1answer
396views

Testing a service that makes database calls, without a database

I'm working on a new service, for the past year I haven't needed to write tests from scratch. I've either been bug fixing, or adding features that require modification of tests, but not writing ...
mal's user avatar
  • 313
2votes
0answers
349views

Unit/Integration Tests for Maven plugin that creates Skipper packages

I am writing an extension to a maven mojo (spring-cloud-skipper-maven-plugin) and I am now writing tests that interact with a skipper server. However, getting the ...
Menelaos's user avatar

close